import request from "./http";

// 获取本地数据
// https://appapi.yaochufa.com/v2/Comment/GetProductCommentsWithTag
// ?productId=27626
// &packageid=0
// &pageIndex=1
// &pageSize=15
// &securityKey=
// &system=android
// &machineCode=
// &deviceToken=
// &imei=
// &channel=360mobile
// &lang=app
// &version=6.3.47
export function getJsonEvaluateData(params){
    params.pageIndex=1
    params.pageSize=15
    params.system="android"
    params.version="6.3.47"

    return request({
        url:"/api/v2/Comment/GetProductCommentsWithTag",
        method:"get",
        params
    })
}
export function getcityTitleData(params){
    params.system="android"
    params.version="6.3.47"

    return request({
        url:"/api/v2/Product/GetProductInfoById",
        method:"get",
        params
    })
}
export function getJsonHomeSelectedData(params){
    params.system="android"
    params.version="6.3.47"
    return request({
        url:"/php/playpoint/qualitySimple",
        method:"get",
        params
    })
}
export function getJsondestinationData(params){//第二页周边分类
    return request({
        url:"/php/portal/dest/provinceList",
        method:"get",
        params
    })
}
export function getJsonWeekendtravelData(params){//第二页周边分类
    return request({
        url:"/php/portal/dest/newDestination",
        method:"get",
        params
    })
}
// export function getJsonaaaaaData(params){
//     return request({
//         url:"/pom/api/preferential/getPreferentialIndex",
//         method:"post",
//         params
//     })
// }